package com.facade.role;




import com.common.ResultUtil;
import com.entity.Role;
import com.facade.base.cud.IBaseFacadeCUD;

import java.io.Serializable;

public interface IRoleFacadeCUD extends IBaseFacadeCUD<Role> {

    ResultUtil addRole(Role role, Serializable... managerId);

    ResultUtil modifyRole(Role role, Serializable... managerId);

    ResultUtil modifyRoleSource(Long id, Long[] sourceIdArray, Serializable... managerId);

    ResultUtil modifyRoleMenu(Long id, Long[] menuIdArray, Serializable... managerId);

    ResultUtil deleteRole(Serializable id, Serializable... managerId);

}